import { ref, onMounted } from 'vue'

export default function useInput() {
  const inputRef = ref(null)

  onMounted(() => {
    inputRef.value.focus()
  })

  return {
    inputRef
  }
}